{% extends 'base_dashboard.html' %} {% block title %}My Profile — Online LMS{% endblock %} {% block extra_css %} {% endblock %} {% block content %}

My Profile

Update your account information & preferences

{% if user.profile_picture %} Profile {% else %}
{% endif %}
{{ user.get_display_name }}
{{ user.get_role_display }}
@{{ user.username }}
{% if user.email %}
{{ user.email }}
{% endif %} {% if user.phone_number %}
{{ user.phone_number }}
{% endif %} {% if user.cnic %}
{{ user.cnic|slice:":5" }}-{{ user.cnic|slice:"5:12" }}-{{ user.cnic|slice:"12:" }}
{% endif %} {% if user.age %}
Age {{ user.age }}
{% endif %} {% if user.qualification %}
{{ user.qualification }}
{% endif %}
Joined {{ user.date_joined|date:"M Y" }}
{% include 'includes/messages.html' %}
{% csrf_token %}
Personal Information
{{ form.full_name }} {% if form.full_name.errors %}
{{ form.full_name.errors|join:", " }}
{% endif %}
{{ form.age }} {% if form.age.errors %}
{{ form.age.errors|join:", " }}
{% endif %}
{{ form.email }} {% if form.email.errors %}
{{ form.email.errors|join:", " }}
{% endif %}
{{ form.phone_number }} {% if form.phone_number.errors %}
{{ form.phone_number.errors|join:", " }}
{% endif %}
{{ form.cnic }} {% if form.cnic.errors %}
{{ form.cnic.errors|join:", " }}
{% endif %}
13-digit National Identity Card (format: XXXXX-XXXXXXX-X)
Education & Experience
{{ form.qualification }} {% if form.qualification.errors %}
{{ form.qualification.errors|join:", " }}
{% endif %}
{{ form.last_degree }} {% if form.last_degree.errors %}
{{ form.last_degree.errors|join:", " }}
{% endif %}
{{ form.work_experience }} {% if form.work_experience.errors %}
{{ form.work_experience.errors|join:", " }}
{% endif %}
Reference (optional)
{{ form.reference_name }} {% if form.reference_name.errors %}
{{ form.reference_name.errors|join:", " }}
{% endif %}
{{ form.reference_mobile }} {% if form.reference_mobile.errors %}
{{ form.reference_mobile.errors|join:", " }}
{% endif %}
Bio & Photo
{{ form.bio }} {% if form.bio.errors %}
{{ form.bio.errors|join:", " }}
{% endif %}
{% if user.profile_picture %}
Current photo Current photo — upload a new one to replace
{% endif %} {{ form.profile_picture }} {% if form.profile_picture.errors %}
{{ form.profile_picture.errors|join:", " }}
{% endif %}
{% endblock %}